// $Id: MapOverviewDialog.h 229 2009-07-23 02:18:19Z mirko.windhoff $
// QtLobby released under the GPLv3, see COPYING for details.
#ifndef MAPOVERVIEWDIALOG_H
#define MAPOVERVIEWDIALOG_H

#include <QtGui/QDialog>
#include "RawHeightMap.h"

namespace Ui {
    class MapOverviewDialog;
}

class MapOverviewDialog : public QDialog {
    Q_OBJECT
public:
    explicit MapOverviewDialog(QWidget *parent = 0);
    virtual ~MapOverviewDialog();
    void setSource(QString mapName, QString description, QImage minimap, RawHeightMap heightmap);
public slots:
    void addStartRect(int ally, QRect r);
    void setMyAllyTeam(int n);
    void removeStartRect(int ally);

protected:
    virtual void changeEvent(QEvent *e);

private:
    Ui::MapOverviewDialog *m_ui;
};

#endif // MAPOVERVIEWDIALOG_H
